Recording of chest wall movement